package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class ProductActivity implements Serializable {
    /**
     * 主键
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 活动类型:秒杀SECKILL、新人NEW_USER、以旧换新OLD_FOR_NEW
     *
     * @mbg.generated
     */
    private String activityType;

    /**
     * 描述
     *
     * @mbg.generated
     */
    private String descr;

    /**
     * 商品id
     *
     * @mbg.generated
     */
    private Integer productId;

    /**
     * 商品标识
     *
     * @mbg.generated
     */
    private String productNo;

    /**
     * 商品白图
     *
     * @mbg.generated
     */
    private String productImg;

    /**
     * 商品名称
     *
     * @mbg.generated
     */
    private String productName;

    /**
     * 品牌id
     *
     * @mbg.generated
     */
    private Integer brandId;

    /**
     * 场景图
     *
     * @mbg.generated
     */
    private String sceneImg;

    /**
     * 货源
     *
     * @mbg.generated
     */
    private String warehouse;

    /**
     * 货源名称
     *
     * @mbg.generated
     */
    private String warehouseName;

    /**
     * 仓库规则如：不退换不到付
     *
     * @mbg.generated
     */
    private String warehouseRule;

    /**
     * 活动标识：积分/红包/抵扣券
     *
     * @mbg.generated
     */
    private BigDecimal activityMax;

    /**
     * 活动标识：积分/红包/抵扣券
     *
     * @mbg.generated
     */
    private BigDecimal activityMin;

    /**
     * 活动额外参数
     *
     * @mbg.generated
     */
    private String extra;

    /**
     * 点击量
     *
     * @mbg.generated
     */
    private Integer pv;

    /**
     * 评论总数
     *
     * @mbg.generated
     */
    private Integer comment;

    /**
     * 好评率
     *
     * @mbg.generated
     */
    private BigDecimal commentGood;

    /**
     * 排序
     *
     * @mbg.generated
     */
    private Integer sort;

    /**
     * 销量
     *
     * @mbg.generated
     */
    private Integer volume;

    /**
     * 销量展示
     *
     * @mbg.generated
     */
    private String volumeStr;

    /**
     * 总库存
     *
     * @mbg.generated
     */
    private Integer stock;

    /**
     * 栏目id
     *
     * @mbg.generated
     */
    private Integer columnId;

    /**
     * 状态1上架2下架 3删除 4 预售 
     *
     * @mbg.generated
     */
    private Byte status;

    /**
     * 成本
     *
     * @mbg.generated
     */
    private BigDecimal cost;

    /**
     * 直接购买价格
     *
     * @mbg.generated
     */
    private BigDecimal curPrice;

    /**
     * 原价
     *
     * @mbg.generated
     */
    private BigDecimal originalPrice;

    /**
     * 店家id
     *
     * @mbg.generated
     */
    private Integer bankerId;

    /**
     * 价格
     *
     * @mbg.generated
     */
    private BigDecimal price;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 修改时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    /**
     * 是否存在推荐图或视频 0否 1是
     *
     * @mbg.generated
     */
    private Integer recImgFlag;

    private String recommendDoc;

    private String recDescr;

    /**
     * 数据类型
     *
     * @mbg.generated
     */
    private String dataType;

    /**
     * 是否广告 0-否 1-是
     *
     * @mbg.generated
     */
    private Integer isAdvert;

    /**
     * 是否隐藏 0-否 1-是
     *
     * @mbg.generated
     */
    private Integer isHide;

    /**
     * 长标题
     *
     * @mbg.generated
     */
    private String longTitle;

    /**
     * 供应商商品id
     *
     * @mbg.generated
     */
    private Integer bankerProductId;

    /**
     * 测评库商品id
     *
     * @mbg.generated
     */
    private Integer evaluationProductId;

    /**
     * 平台数据
     *
     * @mbg.generated
     */
    private String platformData;

    /**
     * sku属性json列表
     *
     * @mbg.generated
     */
    private String attributeJson;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getActivityType() {
        return activityType;
    }

    public void setActivityType(String activityType) {
        this.activityType = activityType;
    }

    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getProductNo() {
        return productNo;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo;
    }

    public String getProductImg() {
        return productImg;
    }

    public void setProductImg(String productImg) {
        this.productImg = productImg;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    public String getSceneImg() {
        return sceneImg;
    }

    public void setSceneImg(String sceneImg) {
        this.sceneImg = sceneImg;
    }

    public String getWarehouse() {
        return warehouse;
    }

    public void setWarehouse(String warehouse) {
        this.warehouse = warehouse;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseRule() {
        return warehouseRule;
    }

    public void setWarehouseRule(String warehouseRule) {
        this.warehouseRule = warehouseRule;
    }

    public BigDecimal getActivityMax() {
        return activityMax;
    }

    public void setActivityMax(BigDecimal activityMax) {
        this.activityMax = activityMax;
    }

    public BigDecimal getActivityMin() {
        return activityMin;
    }

    public void setActivityMin(BigDecimal activityMin) {
        this.activityMin = activityMin;
    }

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }

    public Integer getPv() {
        return pv;
    }

    public void setPv(Integer pv) {
        this.pv = pv;
    }

    public Integer getComment() {
        return comment;
    }

    public void setComment(Integer comment) {
        this.comment = comment;
    }

    public BigDecimal getCommentGood() {
        return commentGood;
    }

    public void setCommentGood(BigDecimal commentGood) {
        this.commentGood = commentGood;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getVolume() {
        return volume;
    }

    public void setVolume(Integer volume) {
        this.volume = volume;
    }

    public String getVolumeStr() {
        return volumeStr;
    }

    public void setVolumeStr(String volumeStr) {
        this.volumeStr = volumeStr;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Integer getColumnId() {
        return columnId;
    }

    public void setColumnId(Integer columnId) {
        this.columnId = columnId;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public BigDecimal getCost() {
        return cost;
    }

    public void setCost(BigDecimal cost) {
        this.cost = cost;
    }

    public BigDecimal getCurPrice() {
        return curPrice;
    }

    public void setCurPrice(BigDecimal curPrice) {
        this.curPrice = curPrice;
    }

    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }

    public Integer getBankerId() {
        return bankerId;
    }

    public void setBankerId(Integer bankerId) {
        this.bankerId = bankerId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getRecImgFlag() {
        return recImgFlag;
    }

    public void setRecImgFlag(Integer recImgFlag) {
        this.recImgFlag = recImgFlag;
    }

    public String getRecommendDoc() {
        return recommendDoc;
    }

    public void setRecommendDoc(String recommendDoc) {
        this.recommendDoc = recommendDoc;
    }

    public String getRecDescr() {
        return recDescr;
    }

    public void setRecDescr(String recDescr) {
        this.recDescr = recDescr;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public Integer getIsAdvert() {
        return isAdvert;
    }

    public void setIsAdvert(Integer isAdvert) {
        this.isAdvert = isAdvert;
    }

    public Integer getIsHide() {
        return isHide;
    }

    public void setIsHide(Integer isHide) {
        this.isHide = isHide;
    }

    public String getLongTitle() {
        return longTitle;
    }

    public void setLongTitle(String longTitle) {
        this.longTitle = longTitle;
    }

    public Integer getBankerProductId() {
        return bankerProductId;
    }

    public void setBankerProductId(Integer bankerProductId) {
        this.bankerProductId = bankerProductId;
    }

    public Integer getEvaluationProductId() {
        return evaluationProductId;
    }

    public void setEvaluationProductId(Integer evaluationProductId) {
        this.evaluationProductId = evaluationProductId;
    }

    public String getPlatformData() {
        return platformData;
    }

    public void setPlatformData(String platformData) {
        this.platformData = platformData;
    }

    public String getAttributeJson() {
        return attributeJson;
    }

    public void setAttributeJson(String attributeJson) {
        this.attributeJson = attributeJson;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", activityType=").append(activityType);
        sb.append(", descr=").append(descr);
        sb.append(", productId=").append(productId);
        sb.append(", productNo=").append(productNo);
        sb.append(", productImg=").append(productImg);
        sb.append(", productName=").append(productName);
        sb.append(", brandId=").append(brandId);
        sb.append(", sceneImg=").append(sceneImg);
        sb.append(", warehouse=").append(warehouse);
        sb.append(", warehouseName=").append(warehouseName);
        sb.append(", warehouseRule=").append(warehouseRule);
        sb.append(", activityMax=").append(activityMax);
        sb.append(", activityMin=").append(activityMin);
        sb.append(", extra=").append(extra);
        sb.append(", pv=").append(pv);
        sb.append(", comment=").append(comment);
        sb.append(", commentGood=").append(commentGood);
        sb.append(", sort=").append(sort);
        sb.append(", volume=").append(volume);
        sb.append(", volumeStr=").append(volumeStr);
        sb.append(", stock=").append(stock);
        sb.append(", columnId=").append(columnId);
        sb.append(", status=").append(status);
        sb.append(", cost=").append(cost);
        sb.append(", curPrice=").append(curPrice);
        sb.append(", originalPrice=").append(originalPrice);
        sb.append(", bankerId=").append(bankerId);
        sb.append(", price=").append(price);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", recImgFlag=").append(recImgFlag);
        sb.append(", recommendDoc=").append(recommendDoc);
        sb.append(", recDescr=").append(recDescr);
        sb.append(", dataType=").append(dataType);
        sb.append(", isAdvert=").append(isAdvert);
        sb.append(", isHide=").append(isHide);
        sb.append(", longTitle=").append(longTitle);
        sb.append(", bankerProductId=").append(bankerProductId);
        sb.append(", evaluationProductId=").append(evaluationProductId);
        sb.append(", platformData=").append(platformData);
        sb.append(", attributeJson=").append(attributeJson);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}